import { ILoginState } from "./login/types"
import { ISystemState } from "./main/system/type"
import { IDashboard } from "./main/analysis/types"

export interface IRootState {
  name: string
  entireDepartments: any[]
  entireRoles: any[]
  entireMenus: any[]
}

// 获取 login,system 模块里面的类型
export interface IRootWitthModule {
  loginModule: ILoginState,
  systemModule: ISystemState,
  dashboardModule: IDashboard
}

export type IStroeTyep = IRootState & IRootWitthModule